home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / samples / dpmi / makefile < prev    next >
Makefile  |  1993-11-28  |  701b  |  40 lines

  1. CFLAGS=-g -Wall -O2
  2.  
  3. all : dpmimem.exe pktdrvr.exe timer.exe ctrlbrk.exe
  4.  
  5. dpmimem.exe : dpmimem.o
  6.     gcc $(CFLAGS) -o dpmimem dpmimem.o
  7.     coff2exe dpmimem
  8.     -del dpmimem
  9.  
  10. dpmimem.o : dpmimem.c
  11.     gcc $(CFLAGS) -c dpmimem.c
  12.  
  13. pktdrvr.exe : pktdrvr.o
  14.     gcc $(CFLAGS) -o pktdrvr pktdrvr.o
  15.     coff2exe pktdrvr
  16.     -del pktdrvr
  17.  
  18. pktdrvr.o : pktdrvr.c
  19.     gcc $(CFLAGS) -c pktdrvr.c
  20.  
  21. timer.exe : timer.o
  22.     gcc $(CFLAGS) -o timer timer.o
  23.     coff2exe timer
  24.     -del timer
  25.  
  26. timer.o : timer.c
  27.     gcc $(CFLAGS) -c timer.c
  28.  
  29. ctrlbrk.exe : ctrlbrk.o
  30.     gcc $(CFLAGS) -o ctrlbrk ctrlbrk.o
  31.     coff2exe ctrlbrk
  32.     -del ctrlbrk
  33.  
  34. ctrlbrk.o : ctrlbrk.c
  35.     gcc $(CFLAGS) -c ctrlbrk.c
  36.  
  37. clean :
  38.     -del *.o
  39.     -del *.exe
  40.